package com.yzt.loginmodule.widget;

import android.text.TextPaint;
import android.text.style.ClickableSpan;
import android.view.View;

import androidx.annotation.NonNull;
import androidx.core.content.ContextCompat;

import com.yzt.zhuju.config.AppConfig;
import com.yzt.loginmodule.R;

/**
 * author : bob
 * date   : 2022/11/25
 * desc   :
 */
public class LoginTextPaint extends ClickableSpan {

    @Override
    public void updateDrawState(@NonNull TextPaint ds) {
        ds.setColor(ContextCompat.getColor(AppConfig.context, R.color.account_color_FF11E3));
        ds.linkColor = ContextCompat.getColor(AppConfig.context, R.color.transparent);
    }

    @Override
    public void onClick(@NonNull View widget) {

    }
}
